﻿Imports System
Imports System.ComponentModel
Imports System.Globalization

Namespace System.Workflow.ComponentModel.Design
    Friend NotInheritable Class ActivityBindPathTypeConverter
        Inherits PropertyValueProviderTypeConverter
        ' Methods
        Public Overrides Function CanConvertFrom(ByVal context As ITypeDescriptorContext, ByVal sourceType As Type) As Boolean
            Return New StringConverter().CanConvertFrom(context, sourceType)
        End Function

        Public Overrides Function CanConvertTo(ByVal context As ITypeDescriptorContext, ByVal destinationType As Type) As Boolean
            Return New StringConverter().CanConvertTo(context, destinationType)
        End Function

        Public Overrides Function ConvertFrom(ByVal context As ITypeDescriptorContext, ByVal culture As CultureInfo, ByVal value As Object) As Object
            Return New StringConverter().ConvertFrom(context, culture, value)
        End Function

        Public Overrides Function ConvertTo(ByVal context As ITypeDescriptorContext, ByVal culture As CultureInfo, ByVal value As Object, ByVal destinationType As Type) As Object
            Return New StringConverter().ConvertTo(context, culture, value, destinationType)
        End Function

    End Class
End Namespace

